:root {
    --gray-light: #1b1d23;
    --gray-dark: #131519;
    --gray-darkest: #0d0f11;
    --brand-coal: #0f0d0e;
    --brand-charcoal: #231f20;
    --brand-charcoal-muted: #1b1918;
    --brand-gray: #262522;
    --brand-yellow: #fcba28;
    --brand-pink: #f38ba3;
    --brand-green: #0ba95b;
    --brand-purple: #7b5ea7;
    --brand-beige: #f9f4da;
    --brand-blue: #12b5e5;
    --brand-orange: #fc7428;
    --brand-red: #ed203d;
    --brand-white: #fff;
    --red: var(--brand-red);
    --white: var(--brand-beige);
    --purple: var(--brand-purple);
    --black: var(--brand-coal);
    --blue: var(--brand-blue);
    --pink: var(--brand-pink);
    --gold: var(--brand-yellow);
    --aqua: var(-- brand-blue);
    --gray: var(--brand-gray);
    --yellow: var(--brand-yellow);
    --green: var(--brand-green);
    --orange: var(--brand-orange);
    --charcoal: var(--brand-charcoal);
    --coal: var(--brand-coal);
}


/* Responsive */

@media screen and (max-width:768px) {
    nav {
        margin-top: 90px;
        position: fixed;
        width: 650px;
        right: 7rem;
    }
    .top-cont section {
        height: auto;
        position: relative;
        margin: 6rem;
        width: 650px;
        display: flex;
        justify-content: center;
        flex-direction: column;
        background-color: #f9f4da;
        border-radius: 1rem;
    }
    .top-cont section ul li {
        display: inline;
    }
    .main-cont {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 40px;
        flex-wrap: nowrap;
    }
    .main-cont section {
        width: 700px;
        height: 900px;
        position: relative;
        display: flex;
        align-items: center;
        flex-direction: column;
        flex-wrap: nowrap;
        margin: 0 1rem 0 5rem;
    }
    .main-cont section .box p {
        font-size: 1.3rem;
    }
    .main-cont section .box {
        height: 400px;
        width: 600px;
    }
    .main-cont section img {
        right: -5rem;
    }
    /* main-cont-2 */
    .main-cont2 {
        width: 700px;
        height: 600px;
        position: relative;
        display: flex;
        align-items: center;
        flex-direction: column;
        flex-wrap: nowrap;
        margin: 0 1rem 0 5rem;
    }
    .main-cont2 .box2 {
        height: 500px;
        width: 641px;
    }
    .main-cont2 .box2 p {
        font-size: 1.3rem;
        text-align: justify;
    }
    /* Links */
    .main-cont .links ul {
        display: flex;
        text-align: center;
        list-style: none;
        font-family: Inter, sans-serif;
        color: #f9f4da;
        font-weight: 800;
        letter-spacing: 0.5px;
        font-size: 1.1rem;
        width: 100%;
    }
}


/* smartphones */

@media screen and (max-width:425px) and (max-width: 767px) {
    header {
        margin: 30px;
        max-width: 425px;
        justify-content: center;
    }
    nav {
        margin: 0;
        height: 60px;
        width: max-content;
        position: fixed;
        right: 6rem;
        display: flex;
        justify-content: center;
    }
    nav ul li {
        padding: 1rem;
    }
    nav ul li a {
        font-size: 10px;
    }
    .top-cont section {
        height: auto;
        position: relative;
        margin: 3rem 2rem 0 5rem;
        width: 100%;
        display: flex;
        justify-content: center;
        flex-direction: column;
        background-color: #f9f4da;
        padding: 3rem;
        border-radius: 1rem;
    }
    .top-cont section p {
        font-family: Inter, sans-serif;
        color: #0a001a;
        font-weight: 300;
        letter-spacing: 0.5px;
        font-size: 1.1rem;
        padding-top: 2.5rem;
        text-align: center;
        margin: -30px;
    }
    .main-cont {
        display: none;
    }
    .in-cont img {
        height: 200px;
    }
}


/* Floating */

@keyframes float {
    0% {
        transform: translatey(0px);
    }
    50% {
        transform: translatey(-20px);
    }
    100% {
        transform: translatey(0px);
    }
}


/* scroll bar */

 ::-webkit-scrollbar {
    display: block;
    width: 8px;
    overflow: auto;
    height: 1em;
}

 ::-webkit-scrollbar-thumb {
    background: var(--brand-yellow);
    border-radius: 20px;
    height: 3rem;
}

 ::-webkit-scrollbar-track {
    background-color: var(--brand-coal);
}

 ::-webkit-scrollbar-button {
    display: block;
    background-color: var(--brand-charcoal);
    height: 4px;
}

 ::-webkit-scrollbar-corner {
    background-color: #7f1d1d;
}